#!/usr/bin/env python3
# -*- coding:utf-8 -*-
###
# File: animals.py
# -----
# Description: 继承和多态
# -----
# Created  By: Aim 2020-01-31 21:59:38
# Modified By: Aim 2020-01-31 22:02:15
# -----
# HISTORY:
# Date      	By	Comments
# ----------	---	----------------------------------------------------------
###

class Animal(object):
    def run(self):
        print('Animal is running...')

class Dog(Animal):
    pass

class Cat(Animal):
    pass

dog = Dog()
dog.run()

cat = Cat()
cat.run()